package com.xiaoxx.model.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoxx.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * base--sys--角色管理
 * </p>
 *
 * @author HX
 * @since 2023-07-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_sys_role")
@ApiModel(value="SysRole对象", description="base--sys--角色管理")
public class SysRole extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;



    @ApiModelProperty(value = "角色名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "查询code(不能重复)")
    @TableField("code")
    private String code;

    @ApiModelProperty(value = "描叙")
    @TableField("`desc`")
    private String desc;

    @ApiModelProperty(value = "禁用(0-启用 1-禁用)")
    @TableField("disable")
    private Integer disable;




}
